﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkOrder.Domain
{
    /// <summary>
    /// 产品类别
    /// </summary>
    public class ProductModel
    {
        [Key]
        public int Id { get; set; }
        public string ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 产品状态
        /// </summary>
        public int ProductStatus { get; set; }
        /// <summary>
        /// 类别编号
        /// </summary>
        public string CategoryId { get; set; }
        /// <summary>
        /// 产品规格
        /// </summary>
        public string Specifications { get; set; }
        /// <summary>
        /// 单位编号
        /// </summary>
        public string DanWei { get; set; }
        /// <summary>
        /// 条码
        /// </summary>
        public string Barcode { get; set; }
        /// <summary>
        /// 仓库编号
        /// </summary>
        public int DepotId { get; set; }
        /// <summary>
        /// 库位编号
        /// </summary>
        public int LocationId { get; set; }
        public string Batch { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public int IsDel { get; set; }
    }
}
